package chapter03;

import java.awt.*;

public abstract class Triangleq extends abstract_test {
    double height, width;

    public Triangleq(double height, double width) {
        this.height = height;
        this.width = width;
    }

    @Override
    public double area() {
        return (height * width / 2);
    }
}
